package hello;

public class Case1 {
    public static void main(String[] args) {
        System.out.println("HelloWord");
        String num = "123456";
        int[] ia = new int[num.length()];
        Integer a = Integer.valueOf(num);
        System.out.println(a);
        for (int i = 0; i < num.length(); i++) {
            int c = num.charAt(i);
            System.out.println(c);
        }
        for (int i = 0; i < num.length(); i++) {
            char c = num.charAt(i);
            ia[i] = (int) (c - '0');
            System.out.println(ia[i]);
        }
    }
}
